package com.mac.hosp_pre.user.model.req;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * UserInfo
 *
 * @author mac
 */
@Data
@Schema(name = "用户")
public class UserReqDto implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Schema(description = "微信openId")
	private String openId;

	@Schema(description = "统一unionId")
	private String unionId;

	@Schema(description = "用户头像")
	private String avatar;

	@Schema(description = "昵称")
	private String nickName;

	@Schema(description = "手机号")
	private String phone;

	@Schema(description = "用户姓名")
	private String userName;

	@Schema(description = "证件类型")
	private Integer certificatesType;

	@Schema(description = "证件编号")
	private String certificatesNo;

	@Schema(description = "证件路径")
	private String certificatesUrl;

	@Schema(description = "认证状态（0：未认证 1：认证中 2：认证成功 -1：认证失败）")
	private Integer authStatus;

	@Schema(description = "状态（0：锁定 1：正常）")
	private Integer status;

	@Schema(description = "ID")
	private Long id;

	@Schema(description = "创建时间")
	private LocalDateTime createTime;

	@Schema(description = "更新时间")
	private LocalDateTime updateTime;

}

